package controller

import (
	"chitchat_http/model"
	"github.com/doujunyu/gogo/job"
	"os"
)

//首页
func Index(j *job.Job) {

	list := make(map[string]interface{})
	list["version"] = model.VersionByOutsetList()
	list["server_name"] = os.Getenv("SERVER_NAME")
	j.JsonSuccess(list)
}





